package com.google.projectulator;

import org.apache.maven.plugin.MojoExecutionException;

import com.google.projectulator.exception.ProjectulatorException;

/**
 * Interface of objects that can handle processing errors on behalf
 * of the system.
 * 
 * @author Lance Woodson
 *
 */
public interface ErrorHandler extends ProjectulatorDelegate {
	/**
	 * Handle the specified exception.
	 * @param exception
	 */
	void handle(Context context, Exception exception) throws MojoExecutionException;
}
